home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / TURB_VIS / TVSPY / TEXTCOLL.PAS < prev    next >
Pascal/Delphi Source File  |  1990-12-17  |  482b  |  26 lines

  1. unit textcoll;
  2.  
  3. interface
  4. uses objects;
  5.  
  6. type PTextCollection = ^TTextCollection;
  7.      TTextCollection = object(TCollection)
  8.        procedure Insert(Item: pointer);  virtual;
  9.        procedure FreeItem(Item: pointer); virtual;
  10.        end;
  11.  
  12.  
  13. implementation
  14.  
  15. procedure TTextCollection.Insert(Item: pointer);
  16.   begin
  17.   AtInsert(Count,Item);
  18.   end;
  19.  
  20. procedure TTextCollection.FreeItem(Item: pointer);
  21.   begin
  22.   if Item <> nil then DisposeStr(Item);
  23.   end;
  24.  
  25. end.
  26.